using Microsoft.AspNetCore.Mvc;

namespace MemoryCacheExample.Controllers;

/// <summary>
/// 分布式缓存（https://learn.microsoft.com/zh-cn/dotnet/core/extensions/caching）
/// </summary>
[ApiController]
[Route("api/[controller]/")]
public class DistributedController : ControllerBase
{
    /// <summary>
    /// 
    /// </summary>
    /// <returns></returns>
    [HttpGet("index")]
    public IActionResult Index()
    {
        return Ok();
    }
}